package configs

import (
	"context"
	"devops-super/api/configs/v1"
)

// IDeviceConfigV1 设备配置管理接口
type IDeviceConfigV1 interface {
	GetPageLst(ctx context.Context, req *v1.DeviceConfigGetPageLstReq) (res *v1.DeviceConfigGetPageLstRes, err error)
	Add(ctx context.Context, req *v1.DeviceConfigAddReq) (res *v1.DeviceConfigAddRes, err error)
	Upt(ctx context.Context, req *v1.DeviceConfigUptReq) (res *v1.DeviceConfigUptRes, err error)
	Del(ctx context.Context, req *v1.DeviceConfigDelReq) (res *v1.DeviceConfigDelRes, err error)
	GetOne(ctx context.Context, req *v1.DeviceConfigGetOneReq) (res *v1.DeviceConfigGetOneRes, err error)
	SetConfig(ctx context.Context, req *v1.SetDeviceConfigReq) (res *v1.SetDeviceConfigRes, err error)
	GetConfig(ctx context.Context, req *v1.GetDeviceConfigReq) (res *v1.GetDeviceConfigRes, err error)
}
